package com.newopenlab.hmc.util;

import java.util.ArrayList;
import java.util.List;

import com.newopenlab.hmc.util.stats.*;

public class PHSManager implements IPHSManager{
	public List<IPHSManager> list=new ArrayList<IPHSManager>();
	
	public PHSManager(){
		this.list.add(new VPIPManager());
		this.list.add(new PFRManager());
		this.list.add(new PF3BetManager());
		this.list.add(new FCBetManager());
		this.list.add(new PFCallTo3BetManager());
	}
	
	public BaseHand calculateStats(String playerName,BaseHand hand){
		BaseHand b=hand;
		for(IPHSManager man:list){
			b=man.calculateStats(playerName, b);
		}
		return b;
	}
}
